#pragma once

/*
an abstract of geometrical rectangle,
thus, it has only width and height
*/

class Rectangle
{
private:
	int x, y;
public:
	Rectangle(int x = 0, int y = 0);
	virtual ~Rectangle();

	int get_x() { return x; }
	void set_x(int x) { this->x = x; }

	int get_y() { return y; }
	void set_y(int y) { this->y = y; }

	void resize(int x = 0, int y = 0) { this->x = x; this->y = y; }
};